from django.urls import path
from rest_framework.routers import DefaultRouter

from . import views,view_star_clone

urlpatterns = [
    path('all/',views.AllProjects),
    path('create/', views.CreateProject),
    path('delete/',views.DeleteProject),
    path('edit/',views.EditProject),
    path('goto/', views.GotoProject),
    path('get/',views.GetProject),
    path('getusers/', views.GetUsers),
    path('examples/',views.GetExamples),
    path('public/<id>/',view_star_clone.ChangePublic),
    path('gettoken/', views.GetToken),
    path('star/<id>/', view_star_clone.StarProject),
    path('stars/',views.GetProjectsStar),
    path('clone/',view_star_clone.CloneProject),
    path('clonetry/',view_star_clone.CloneTry),
    path('show/<id>/',view_star_clone.ShowHtml),
    path('test/', views.test),
]
